<template>
  <div id="app">
    <v-touch @swipeleft="left" @swiperight="right">
      <router-view/>
    </v-touch>
  </div>
</template>

<script>
export default {
  name: 'App',
  methods: {
    left () {
      console.log('left')
    },
    right () {
      console.log('right')
      this.$router.push({'path':'/user'});
    }
  }
}
</script>